package com.atguigu.guli.service.oss.util;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssProperties {

   private String endpoint;
    private String  keyId;
    private String  keySecret;
   // #bucket可以在控制台创建，也可以使用java代码创建，注意先测试bucket是否已被占用
   private String  bucketName;
}
